﻿namespace DouyinScraper
{
    public class ModernButton : Button
    {
        private const int ControlHeight = 536; // 统一高度

        public ModernButton()
        {
            Height = ControlHeight; // 统一设置高度
        }

        protected override void OnCreateControl()
        {
            base.OnCreateControl();
            Height = ControlHeight; // 确保高度一致
        }
    }
}